package com.ly.ymall.usermanager.service.impl;

import com.alibaba.dubbo.config.annotation.Service;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import com.ly.ymall.service.UserInfoService;
import com.ly.ymall.usermanager.dao.UserInfoMapper;
import com.ly.ymall.pojo.UserInfo;
import org.springframework.beans.factory.annotation.Autowired;

@Service
public class UserInfoServiceImpl extends ServiceImpl<UserInfoMapper,UserInfo> implements UserInfoService {

    @Autowired
    private UserInfoMapper userInfoMapper;

    @Override
    public UserInfo getUserInfoById(int id) {
        UserInfo userInfo = userInfoMapper.selectById(id);
        return userInfo;
    }
}
